home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / packet / terminal / dp410 / tfpkeng.asc < prev    next >
Encoding:
Text File  |  1994-11-07  |  7.3 KB  |  172 lines

  1. NORD><LINK THE FIRMWARE 2.7 (DAMA/XHOST) for AEA PK232 und PK88
  2. ---------------------------------------------------------------
  3.  
  4.  
  5. 1. Problem
  6.  
  7. Some  Digipeaters use the DAMA-version of TheNetNode and Flexnet. 
  8. To get reliable results about the use of DAMA, all users must use 
  9. a  DAMA-firmware.  In the Firmware of the PK232/PK88 DAMA is  not 
  10. implemented.  Therefore  it is desirable to have a  DAMA-firmware 
  11. for both, the PK232 and the PK88.
  12.  
  13.  
  14. 2. Solution
  15.  
  16. The  easiest and fastest solution is a port of the TNC2-software. 
  17. The  Hardware  of the PK's is similar to the  TNC2,  therefore  a 
  18. new firmware-EPROM will be the only change to the PK232/PK88.
  19. In  addition with the new firmware the PK acts like a  TNC2  with 
  20. TF2.7  and all Hostmode-programs like Graphic Packet,  SP,  Turbo 
  21. Packet  and  many more will work without  any  additional  driver 
  22. (TFPCR).  It  is  not needed any longer to run the PK's in  KISS-
  23. mode.
  24. There  are  three versions of the software:  one  for  the  PK232 
  25. without  MBX-extension  (TFPK),  one  for  the  PK232  with  MBX-
  26. extension (TFPKM) and one for the PK88 (TFPK8).
  27.  
  28.  
  29. 3. Installation, Commands, Operation
  30.  
  31. The firmware for the PK232/PK88 needs,  like the TNC2-version,  a 
  32. 32 KByte-EPROM (27256).  In a PK232 without MBX the new EPROM can 
  33. be changed directly against EPROM U2.  The PK232 with MBX uses as 
  34. the first EPROM a 64 KByte-EPROM (27512).  Therefore the firmware 
  35. must  be programmed in the first half of a 27512.  This EPROM can 
  36. replace  EPROM  U1  at the  MBX-board  then  directly.  The  PK88 
  37. contains only one 27256 and this EPROM can be relaced directly.
  38. Further changes are not needed.
  39. The   speed  used  for  the  RS232-interface  after  coldboot  is 
  40. specified  by a default-value in the EPROM (see 4.).  It  can  be 
  41. changed by command and can be up to 19200 Baud.  The new speed is 
  42. available after the next restart.
  43. The  other commands are indentical to TF2.7 of TNC2  and  further 
  44. information can be found in the documentation of the TNC2-version.
  45. The KISS- and SMACK-mode is not ported, therefore the command @K
  46. (Switch to KISS/SMACK) has mo function.
  47. To  handle  modem  and  interface-speeds some  new  commands  are 
  48. implemented:
  49.  
  50. @H: mode of Modem
  51.  
  52.         PK232
  53.         -----
  54.     0:  200Hz-Shift (KW)
  55.     1:  200Hz-Shift (KW)
  56.     2: 1000Hz-Shift (VHF)
  57.     3: 1000Hz-Shift (VHF)
  58.  
  59.         PK232MBX
  60.         --------
  61.     0:  200Hz-Shift (KW) + ALTMODEM on
  62.     1:  200Hz-Shift (KW) + ALTMODEM off
  63.     2: 1000Hz-Shift (VHF) + ALTMODEM on
  64.     3: 1000Hz-Shift (VHF) + ALTMODEM off
  65.  
  66.         PK88 (like command 'TONE')
  67.         ------------------------
  68.     0:  200Hz-Shift Low Tones (KW)
  69.     1:  200Hz-Shift Hi Tones (KW)
  70.     2: 1000Hz-Shift (VHF)
  71.     3: 1000Hz-Shift with Equalizer (VHF)
  72.  
  73.  
  74. @N: Speed HF-Interface
  75.     300,600,1200,2400,4800,9600
  76.  
  77.  
  78. @O: Speed RS232-Interface
  79.     300,600,1200,2400,4800,9600,19200
  80.     (Change valid after next restart)
  81.  
  82.  
  83. 4. Addresses of Default-Parameters
  84.  
  85. At  Coldboot  the  firmware  uses  default-parameters  which  are 
  86. located  at the beginning of the EPROM.  These parameters can  be 
  87. adapted  to  the  personal  needs.  Except  for  the  last  three 
  88. parameters (Modem-mode,  HF-speed, RS232-speed) the addresses are 
  89. equal  to  the addresses of the TNC2-version.  Please  note  that 
  90. words  are stored byte-revers,  e.g.  dw 2580h is stored as  80h, 
  91. 25h.
  92.  
  93. EPROM  Byte/Word        Description                    Default-
  94.  Adr.  and value                                        Value
  95. 0040h db 1Bh          ; Command Character             ( Escape )
  96. 0041h db '      ',60h ; own callsign                  ( <empty>)
  97. 0048h db 10           ; max. nbr of connections       (     10 )
  98. 0049h db 00h          ; Monitormode                   (    00h )
  99.                       ;   Bit 0 - I-Frames
  100.                       ;   Bit 1 - UI-Frames
  101.                       ;   Bit 2 - Supervisory-Frames
  102.                       ;   Bit 3 - Monitor during connect  
  103. 004Ah db 1            ; Digipeat on = 1               (      1 )
  104. 004Bh db 32           ; P-Persistence-Value, 0..255   (     32 )
  105. 004Ch db 10           ; WAIT, 10ms, (Slottime)        (     10 )
  106. 004Dh db 30           ; TXDELAY, 10ms                 (     30 )
  107. 004Eh db 03h          ; Flow Control                  (    03h )
  108.                       ;   Bit 0 - Flow Control on 
  109.                       ;   Bit 1 - XON/XOFF on 
  110. 004Fh db 1            ; TX PTT, 0 suppressed          (      1 )
  111. 0050h db 1            ; Auto-Linefeed, 1 on           (      1 )
  112. 0051h db 1            ; Terminalecho, 1 on            (      1 )
  113. 0052h db 2            ; MAXFRAME                      (      2 )
  114. 0053h db 10           ; RETRY                         (     10 )
  115. 0054h db 0            ; Callsign-check, 1 on          (      0 )
  116. 0055h db 0            ; Fullduplex, 1 on              (      0 )
  117. 0056h db 0            ; UIPOLL, 0=UI 1=UI+            (      0 )
  118. 0057h db 0            ; Stamp                         (      0 )
  119.                       ;   0 off
  120.                       ;   1 status-messages
  121.                       ;   2   " and monitorframes
  122. 0058h db 0            ; send flags in pauses, 1 on    (      0 )
  123. 0059h dw 150          ; Timer 2, 10ms                 (    150 )
  124. 005Bh dw 18000        ; Timer 3, 10ms                 (  18000 )
  125. 005Dh db 2            ; Alpha 3                       (      2 )
  126. 005Eh dw 500          ; Initial RTT, 10 ms            (    500 )
  127. 0060h db 60           ; Paclen for I-POLL             (     60 )
  128. ; New parameters for PK232/PK88
  129. 0061h dw 1200         ; Speed HF-interface            (   1200 )
  130. 0063h dw 9600         ; Speed RS232-interface         (   9600 )
  131.                       ;   300 = 012Ch
  132.                       ;   600 = 0258h
  133.                       ;  1200 = 04B0h
  134.                       ;  2400 = 0960h
  135.                       ;  4800 = 12C0h
  136.                       ;  9600 = 2580h
  137.                       ; 19200 = 4B00h (only RS232)
  138. 0065h db 3            ; Modem-mode (see @H)           (      3 )
  139.  
  140.  
  141. 5. Switching to Original-Software (only PK232)
  142.  
  143. In  fact  there  is one disadvantage about  the  new  EPROM.  The 
  144. Firmware  only  supports Packet-Radio.  The other modes  are  not 
  145. operational any longer.
  146. To  be  able to use the other modes it is desirable to  have  the 
  147. original firmware available, too.
  148. One  solution  for this is a small circuit-board with two  EPROM-
  149. sockets  and a connection to the EPROM-socket of the  PK232.  All 
  150. pins,  except pin 20 (Chip-Enable) must be connected through  all 
  151. sockets.  On  both  sockets  a 2.2k-resistor  must  be  connected 
  152. between pin 20 and pin 28 (Vcc). Now with a switch one of the two 
  153. Chip-Enable-pins (pin 20) can be connected to pin 20 of the PK232 
  154. to make the EPROM operational. 
  155. One  socket must contain the original firmware,  the other socket 
  156. the new firmware-EPROM.
  157. The switch must not be changed during operation.
  158.  
  159.  
  160. 6. Credits
  161.  
  162. The  Firmware  for  PK232/PK88  is a  port  of  the  TNC2-version 
  163. developed  by NORD><LINK.  Many Hams spent much time and work  in 
  164. the  development and I appreciate their work and thank  them  for 
  165. their activity.
  166. Like  all from NORD><LINK this software can be distributed freely 
  167. to anyone as long as there are no commercial interests.
  168. If there are any questions left, send a mail.
  169.  
  170. 73 from Berlin, Mark
  171. (DL4YBG @ DB0BLO.#BLN.DEU.EU, wahlm@zelator.de)
  172.